package com.jing.intellij.apama.lang.psi

import com.intellij.openapi.fileTypes.LanguageFileType
import com.jing.intellij.apama.Icons
import javax.swing.Icon

class EPLFileType: LanguageFileType(EPLLanguage.INSTANCE, false) {
    override fun getName(): String = "EPL File"

    override fun getDescription(): String = "EPL language file"

    //文件扩展名
    override fun getDefaultExtension(): String = "mon"

    override fun getIcon(): Icon = Icons.eplIcon()

    companion object {
        val INSTANCE = EPLFileType()
    }
}